package com.wngbms.feigndemo;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class TTT {

    public static void main(String[] args) {

        String content = "我的手机号数13321434152,1230000111112300001111,20022223333怎么样很完美吧";
        String regex = "1[38]\\d{9}";//定义手机好规则

//        String s = content.replaceAll(regex, "xxxx");
        log.info(content);
        log.info("heelo");

//        String x = content.replaceAll("(1\\d{2})\\d{4}(\\d{4})", "$1****$2");
//        log.info(x);
    }

}
